package com.zongzi.stock.bean;

import java.util.List;

/**
 * 一天最高，最低股价等信息
 * Created by Dell on 2017/5/25.
 */

public class DailyDataBean {

    /**
     * errorNo : 0
     * errorMsg : SUCCESS
     * data : [{"stockCode":"300033","stockName":"同花顺","exchange":"sz","asset":0,"stockStatus":"2","close":61.5,"high":61.599998474121,"low":60.5,"capitalization":33062400000,"netChange":0.54999923706055,"netChangeRatio":0.90237772464752,"volume":1675592,"amplitudeRatio":1.804755449295,"turnoverRatio":0.63560849428177,"preClose":60.950000762939,"open":60.900001525879,"followNum":0}]
     */

    public int errorNo;
    public String errorMsg;
    public List<DataBean> data;

    public static class DataBean {
        /**
         * isRed = -1:股价下跌，背景变绿
         * isRed = 0:股价不变，背景不变色
         * isRed = 1:股价上涨，背景变红
         */
        public int isRed = 0;
        /**
         * stockCode : 300033
         * stockName : 同花顺
         * exchange : sz
         * asset : 0
         * stockStatus : 2
         * close : 61.5
         * high : 61.599998474121
         * low : 60.5
         * capitalization : 33062400000
         * netChange : 0.54999923706055
         * netChangeRatio : 0.90237772464752
         * volume : 1675592
         * amplitudeRatio : 1.804755449295
         * turnoverRatio : 0.63560849428177
         * preClose : 60.950000762939
         * open : 60.900001525879
         * followNum : 0
         */

        public String stockCode;
        public String stockName;
        public String exchange;
        public double asset;
        public String stockStatus;
        public double close;
        public double high;
        public double low;
        public long capitalization;
        public double netChange;
        public double netChangeRatio;
        public double volume;
        public double amplitudeRatio;
        public double turnoverRatio;
        public double preClose;
        public double open;
        public double followNum;
    }
}
